package com.wx.tnsenterprise.service;

import com.github.pagehelper.PageInfo;
import com.wx.tnsenterprise.model.dto.FunnelRecDto;
import com.wx.tnsenterprise.model.dto.PageDto;
import com.wx.tnsenterprise.model.po.RecruitPo;
import com.wx.tnsenterprise.model.vo.RecDetailVo;
import com.wx.tnsenterprise.model.vo.RecruitHotVo;
import com.wx.tnsenterprise.model.dto.RecruitDto;

import java.util.List;
import java.util.Map;

/**
 * @author 林建权
 * @version 1.0
 * @date 2020/7/28 16:53
 */
public interface RecruitService {
    List<RecruitPo> findAll();

    int delete(Integer id);

    int update(RecruitPo recruitPo);

    int insert(RecruitPo recruitPo);

    int insertByRecVo(RecruitDto recruitDto);

    List<RecruitHotVo> findHotRec(Integer length);

    PageInfo findRecByFunnel(FunnelRecDto funnelRecDto);

    List<String> findRecHotCity(Integer length);

    List<String> findRecHotJob(Integer length);

    RecDetailVo recDetail(Integer id);

    PageInfo<RecruitPo> findAllPageInfo(PageDto pageDto);

    RecruitPo findById(Integer id);
}
